﻿namespace PhoneSample
{
    using System;
    using System.Net;
    using System.Windows;
    using System.Windows.Controls;
    using System.Windows.Documents;
    using System.Windows.Ink;
    using System.Windows.Input;
    using System.Windows.Media;
    using System.Windows.Media.Animation;
    using System.Windows.Shapes;

    /// <summary>
    /// Bootstraps the sample application.
    /// </summary>
    public class SampleBootstrapper : WPForms.Phone.Bootstrapper
    {
        /// <summary>
        /// Implementors have to provide form descriptions for all available forms in the application.
        /// </summary>
        /// <param name="descriptionCollection">The description collection.</param>        
        protected override void AddFormDescriptions(WPForms.Common.Model.FormDescriptionCollection descriptionCollection)
        {
            descriptionCollection.Add(new WPForms.Common.Model.FormDescription()
            {
                FormName = "Webshop Registration",
                Uri = new Uri("/PhoneSample;component/Resources/RegistrationForm.xaml", UriKind.Relative),
            });
            descriptionCollection.Add(new WPForms.Common.Model.FormDescription()
            {
                FormName = "Vending Machine",
                Uri = new Uri("/PhoneSample;component/Resources/VendingMachineForm.xaml", UriKind.Relative),
            });
        }
    }
}
